package com.jianbing.zuixia.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jianbing.common.annotation.Excel;
import com.jianbing.common.core.domain.BaseEntity;

/**
 * 用户关联，存储用户基本信息和康复情况对象 zuixia_user_relationship
 * 
 * @author windbless
 * @date 2024-07-09
 */
public class ZuixiaUserRelationship extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID，主键，自增 */
    @Excel(name = "用户ID，主键，自增")
    private Long userId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 年龄 */
    @Excel(name = "年龄")
    private String age;

    /** 教育情况 */
    @Excel(name = "教育情况")
    private String educationStatus;

    /** 喜欢的东西 */
    @Excel(name = "喜欢的东西")
    private String favorites;

    /** 兴趣爱好 */
    @Excel(name = "兴趣爱好")
    private String hobbies;

    /** 确诊日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "确诊日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date diagnosisDate;

    /** 治疗时长，以天为单位 */
    @Excel(name = "治疗时长，以天为单位")
    private String treatmentDuration;

    /** 症状表现 */
    @Excel(name = "症状表现")
    private String symptoms;

    /** 现在在哪学习 */
    @Excel(name = "现在在哪学习")
    private String currentStudyLocation;

    /** 是否参与过专业康复训练，1表示是，0表示否 */
    @Excel(name = "是否参与过专业康复训练，1表示是，0表示否")
    private String professionalRehabilitationTraining;

    /** 关联的用户ID */
    @Excel(name = "关联的用户ID")
    private Long relatedUserId;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAge(String age) 
    {
        this.age = age;
    }

    public String getAge() 
    {
        return age;
    }
    public void setEducationStatus(String educationStatus) 
    {
        this.educationStatus = educationStatus;
    }

    public String getEducationStatus() 
    {
        return educationStatus;
    }
    public void setFavorites(String favorites) 
    {
        this.favorites = favorites;
    }

    public String getFavorites() 
    {
        return favorites;
    }
    public void setHobbies(String hobbies) 
    {
        this.hobbies = hobbies;
    }

    public String getHobbies() 
    {
        return hobbies;
    }
    public void setDiagnosisDate(Date diagnosisDate) 
    {
        this.diagnosisDate = diagnosisDate;
    }

    public Date getDiagnosisDate() 
    {
        return diagnosisDate;
    }
    public void setTreatmentDuration(String treatmentDuration) 
    {
        this.treatmentDuration = treatmentDuration;
    }

    public String getTreatmentDuration() 
    {
        return treatmentDuration;
    }
    public void setSymptoms(String symptoms) 
    {
        this.symptoms = symptoms;
    }

    public String getSymptoms() 
    {
        return symptoms;
    }
    public void setCurrentStudyLocation(String currentStudyLocation) 
    {
        this.currentStudyLocation = currentStudyLocation;
    }

    public String getCurrentStudyLocation() 
    {
        return currentStudyLocation;
    }
    public void setProfessionalRehabilitationTraining(String professionalRehabilitationTraining) 
    {
        this.professionalRehabilitationTraining = professionalRehabilitationTraining;
    }

    public String getProfessionalRehabilitationTraining() 
    {
        return professionalRehabilitationTraining;
    }
    public void setRelatedUserId(Long relatedUserId) 
    {
        this.relatedUserId = relatedUserId;
    }

    public Long getRelatedUserId() 
    {
        return relatedUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("name", getName())
            .append("age", getAge())
            .append("educationStatus", getEducationStatus())
            .append("favorites", getFavorites())
            .append("hobbies", getHobbies())
            .append("diagnosisDate", getDiagnosisDate())
            .append("treatmentDuration", getTreatmentDuration())
            .append("symptoms", getSymptoms())
            .append("currentStudyLocation", getCurrentStudyLocation())
            .append("professionalRehabilitationTraining", getProfessionalRehabilitationTraining())
            .append("relatedUserId", getRelatedUserId())
            .toString();
    }
}
